#! /usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright (c) 2008 jiakuan.net and widenhome.com, All rights reserved.
# 
# Created on 2008-12-2, by Jiakuan Wang.
#

'''The main entry point of this application.
'''

import os
import wx
import locale
import gettext
import i18n
from javavatask.gui import MainFrame, MyTaskBarIcon
from javavatask.storage import getLanguage, setLanguage

# Initialize i18n setting.
i18n.init_i18n()

class App(wx.App):
    def OnInit(self):
        frame = MainFrame()
        self.SetTopWindow(frame)
        frame.Show()
        return True

if __name__ == '__main__':    
    # Startup the application.
    app = App(False)
    app.MainLoop()
